package com.example.rg1movieinfoapp;

import java.io.Serializable;

public class MovieInfo implements Serializable
{

    /**
     * id : 2
     * name : 勇敢的心
     * info : 影片以13-14世纪英格兰的宫廷政治为背景，以战争为核心，讲述了苏格兰起义领袖威廉·华莱士与英格兰统治者不屈不挠斗争的故事。
     * img : yonggan.jpg
     */

    private int id;
    private String name;
    private String info;
    private String img;

    public MovieInfo() {
    }

    public MovieInfo(int id, String name, String info, String img) {
        this.id = id;
        this.name = name;
        this.info = info;
        this.img = img;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
}
